home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX auxiliary file, ASCII text, with CRLF line terminators
| default
| |
100%
| TrID
| LaTeX 2e document (with rem)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[CRLF]
| default (weak)
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 0d 0a 25 46 72 6f 6d | 3a 20 63 68 61 73 65 40 |%..%From|: chase@|
|00000010| 6f 72 63 2e 6f 6c 69 76 | 65 74 74 69 2e 63 6f 6d |orc.oliv|etti.com|
|00000020| 20 28 44 61 76 69 64 20 | 43 68 61 73 65 29 0d 0a | (David |Chase)..|
|00000030| 25 53 75 62 6a 65 63 74 | 3a 20 72 65 3a 20 46 6c |%Subject|: re: Fl|
|00000040| 6f 77 20 63 68 61 72 74 | 73 20 69 6e 20 4c 61 54 |ow chart|s in LaT|
|00000050| 65 58 0d 0a 25 44 61 74 | 65 3a 20 4d 6f 6e 2c 20 |eX..%Dat|e: Mon, |
|00000060| 32 34 20 4f 63 74 20 38 | 38 20 31 35 3a 33 34 3a |24 Oct 8|8 15:34:|
|00000070| 34 32 20 2d 30 37 30 30 | 0d 0a 25 0d 0a 25 48 65 |42 -0700|..%..%He|
|00000080| 72 65 20 69 73 20 61 20 | 74 6f 6f 6c 20 74 68 61 |re is a |tool tha|
|00000090| 74 20 6d 69 67 68 74 20 | 62 65 20 75 73 65 66 75 |t might |be usefu|
|000000a0| 6c 3b 20 79 6f 75 20 63 | 61 6e 20 75 73 65 20 69 |l; you c|an use i|
|000000b0| 74 20 74 6f 20 67 65 74 | 20 6c 69 6e 65 73 0d 0a |t to get| lines..|
|000000c0| 25 77 68 69 63 68 20 62 | 65 6e 64 20 28 39 30 20 |%which b|end (90 |
|000000d0| 64 65 67 72 65 65 73 29 | 20 65 6e 64 69 6e 67 20 |degrees)| ending |
|000000e0| 69 6e 20 61 72 72 6f 77 | 73 2c 20 61 6e 64 20 79 |in arrow|s, and y|
|000000f0| 6f 75 20 63 61 6e 20 73 | 74 75 64 79 20 69 74 20 |ou can s|tudy it |
|00000100| 28 68 61 20 68 61 29 0d | 0a 25 74 6f 20 66 69 67 |(ha ha).|.%to fig|
|00000110| 75 72 65 20 6f 75 74 20 | 68 6f 77 20 69 74 20 6d |ure out |how it m|
|00000120| 69 67 68 74 20 62 65 20 | 65 78 74 65 6e 64 65 64 |ight be |extended|
|00000130| 20 74 6f 20 64 6f 20 61 | 20 66 6c 6f 77 20 63 68 | to do a| flow ch|
|00000140| 61 72 74 2e 0d 0a 25 49 | 74 20 69 73 20 69 6e 63 |art...%I|t is inc|
|00000150| 6c 75 64 65 64 20 77 69 | 74 68 69 6e 20 61 20 70 |luded wi|thin a p|
|00000160| 72 6f 67 72 61 6d 20 74 | 6f 20 74 65 73 74 20 64 |rogram t|o test d|
|00000170| 65 6d 6f 6e 73 74 72 61 | 74 65 20 69 74 2e 20 20 |emonstra|te it. |
|00000180| 49 74 20 75 73 65 73 20 | 6f 6e 6c 79 0d 0a 25 74 |It uses |only..%t|
|00000190| 68 65 20 4c 61 54 65 58 | 20 70 69 63 74 75 72 65 |he LaTeX| picture|
|000001a0| 20 6d 61 63 72 6f 73 20 | 66 6f 72 20 67 72 61 70 | macros |for grap|
|000001b0| 68 69 63 73 2e 0d 0a 25 | 0d 0a 25 4e 6f 74 65 20 |hics...%|..%Note |
|000001c0| 74 68 65 20 75 73 65 20 | 6f 66 20 64 69 72 74 79 |the use |of dirty|
|000001d0| 20 74 72 69 63 6b 73 20 | 74 6f 20 74 75 72 6e 20 | tricks |to turn |
|000001e0| 70 6f 69 6e 74 73 20 69 | 6e 74 6f 20 64 69 6d 65 |points i|nto dime|
|000001f0| 6e 73 69 6f 6e 6c 65 73 | 73 0d 0a 25 6e 75 6d 62 |nsionles|s..%numb|
|00000200| 65 72 73 2e 20 20 54 68 | 65 72 65 20 6d 61 79 20 |ers. Th|ere may |
|00000210| 62 65 20 61 20 62 65 74 | 74 65 72 20 77 61 79 2c |be a bet|ter way,|
|00000220| 20 62 75 74 20 49 20 63 | 6f 75 6c 64 6e 27 74 20 | but I c|ouldn't |
|00000230| 66 69 6e 64 20 69 74 2e | 20 20 4d 79 0d 0a 25 64 |find it.| My..%d|
|00000240| 69 66 66 69 63 75 6c 74 | 69 65 73 20 77 69 74 68 |ifficult|ies with|
|00000250| 20 74 68 69 73 20 6c 65 | 61 64 20 6d 65 20 74 6f | this le|ad me to|
|00000260| 20 62 65 6c 69 65 76 65 | 20 74 68 61 74 20 65 69 | believe| that ei|
|00000270| 74 68 65 72 0d 0a 25 28 | 31 29 20 54 65 58 20 73 |ther..%(|1) TeX s|
|00000280| 68 6f 75 6c 64 20 72 65 | 61 6c 6c 79 20 70 72 6f |hould re|ally pro|
|00000290| 76 69 64 65 20 64 69 6d | 65 6e 73 69 6f 6e 6c 65 |vide dim|ensionle|
|000002a0| 73 73 20 72 65 61 6c 20 | 6e 75 6d 62 65 72 73 0d |ss real |numbers.|
|000002b0| 0a 25 6f 72 0d 0a 25 28 | 32 29 20 4d 61 79 62 65 |.%or..%(|2) Maybe|
|000002c0| 20 4c 61 54 65 58 20 73 | 68 6f 75 6c 64 20 75 73 | LaTeX s|hould us|
|000002d0| 65 20 72 65 61 6c 20 6c | 65 6e 67 74 68 73 20 69 |e real l|engths i|
|000002e0| 6e 73 74 65 61 64 20 6f | 66 20 64 69 6d 65 6e 73 |nstead o|f dimens|
|000002f0| 69 6f 6e 6c 65 73 73 0d | 0a 25 6e 75 6d 62 65 72 |ionless.|.%number|
|00000300| 73 20 69 6e 20 74 68 65 | 20 70 69 63 74 75 72 65 |s in the| picture|
|00000310| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 2e 20 20 49 | environ|ment. I|
|00000320| 20 6d 69 67 68 74 20 67 | 65 74 20 74 69 72 65 64 | might g|et tired|
|00000330| 20 6f 66 20 61 6c 77 61 | 79 73 0d 0a 25 61 74 74 | of alwa|ys..%att|
|00000340| 61 63 68 69 6e 67 20 61 | 20 64 69 6d 65 6e 73 69 |aching a| dimensi|
|00000350| 6f 6e 20 74 6f 20 74 68 | 69 6e 67 73 2c 20 62 75 |on to th|ings, bu|
|00000360| 74 20 69 74 20 77 6f 75 | 6c 64 20 62 65 20 4c 4f |t it wou|ld be LO|
|00000370| 54 53 20 65 61 73 69 65 | 72 20 74 6f 20 77 72 69 |TS easie|r to wri|
|00000380| 74 65 0d 0a 25 69 6e 74 | 65 72 65 73 74 69 6e 67 |te..%int|eresting|
|00000390| 20 6d 61 63 72 6f 73 2e | 0d 0a 25 0d 0a 25 49 66 | macros.|..%..%If|
|000003a0| 20 61 6e 79 6f 6e 65 20 | 63 61 6e 20 70 6f 69 6e | anyone |can poin|
|000003b0| 74 20 6f 75 74 20 74 6f | 20 6d 65 20 61 6e 20 65 |t out to| me an e|
|000003c0| 61 73 69 65 72 20 77 61 | 79 20 74 6f 20 64 6f 20 |asier wa|y to do |
|000003d0| 74 68 69 73 2c 20 49 27 | 64 20 62 65 20 68 61 70 |this, I'|d be hap|
|000003e0| 70 79 0d 0a 25 74 6f 20 | 68 65 61 72 20 69 74 2e |py..%to |hear it.|
|000003f0| 20 20 50 65 6f 70 6c 65 | 20 6f 6e 20 54 65 58 68 | People| on TeXh|
|00000400| 61 78 20 74 72 69 65 64 | 20 74 6f 20 68 65 6c 70 |ax tried| to help|
|00000410| 20 6d 65 20 61 20 63 6f | 75 70 6c 65 20 6f 66 20 | me a co|uple of |
|00000420| 79 65 61 72 73 20 61 67 | 6f 0d 0a 25 77 69 74 68 |years ag|o..%with|
|00000430| 20 74 68 69 73 2c 20 62 | 75 74 20 6e 6f 74 68 69 | this, b|ut nothi|
|00000440| 6e 67 20 73 65 65 6d 65 | 64 20 74 6f 20 77 6f 72 |ng seeme|d to wor|
|00000450| 6b 2e 0d 0a 25 0d 0a 25 | 2d 2d 2d 2d 2d 2d 2d 2d |k...%..%|--------|
|00000460| 2d 2d 2d 2d 2d 2d 2d 2d | 20 42 45 47 49 4e 4e 49 |--------| BEGINNI|
|00000470| 4e 47 20 4f 46 20 4d 41 | 43 52 4f 53 20 20 2d 2d |NG OF MA|CROS --|
|00000480| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0a |--------|------..|
|00000490| 25 20 46 69 72 73 74 2c | 20 61 20 64 69 72 74 79 |% First,| a dirty|
|000004a0| 20 74 72 69 63 6b 0d 0a | 0d 0a 7b 5c 63 61 74 63 | trick..|..{\catc|
|000004b0| 6f 64 65 60 70 3d 31 32 | 20 5c 63 61 74 63 6f 64 |ode`p=12| \catcod|
|000004c0| 65 60 74 3d 31 32 20 5c | 67 64 65 66 5c 62 6f 67 |e`t=12 \|gdef\bog|
|000004d0| 75 73 6d 61 63 72 6f 23 | 31 70 74 7b 23 31 7d 7d |usmacro#|1pt{#1}}|
|000004e0| 0d 0a 5c 6c 65 74 5c 67 | 65 74 66 61 63 74 6f 72 |..\let\g|etfactor|
|000004f0| 3d 5c 62 6f 67 75 73 6d | 61 63 72 6f 0d 0a 5c 64 |=\bogusm|acro..\d|
|00000500| 65 66 5c 75 6e 70 74 23 | 31 7b 5c 65 78 70 61 6e |ef\unpt#|1{\expan|
|00000510| 64 61 66 74 65 72 5c 67 | 65 74 66 61 63 74 6f 72 |dafter\g|etfactor|
|00000520| 5c 74 68 65 23 31 7d 0d | 0a 0d 0a 25 20 41 20 6d |\the#1}.|...% A m|
|00000530| 61 63 72 6f 20 74 6f 20 | 67 65 74 20 75 73 20 6f |acro to |get us o|
|00000540| 75 74 20 6f 66 20 74 68 | 65 20 69 74 65 72 61 74 |ut of th|e iterat|
|00000550| 69 6f 6e 2e 0d 0a 0d 0a | 5c 64 65 66 5c 67 6f 62 |ion.....|\def\gob|
|00000560| 62 6c 65 65 6d 75 70 23 | 31 2c 23 32 2c 23 33 2c |bleemup#|1,#2,#3,|
|00000570| 7b 7d 0d 0a 0d 0a 25 20 | 54 57 41 49 20 64 6f 65 |{}....% |TWAI doe|
|00000580| 73 20 61 6c 6c 20 74 68 | 65 20 77 6f 72 6b 2c 20 |s all th|e work, |
|00000590| 61 6e 64 20 63 6f 75 6c | 64 20 70 72 6f 62 61 62 |and coul|d probab|
|000005a0| 6c 79 20 62 65 20 72 65 | 77 72 69 74 74 65 6e 0d |ly be re|written.|
|000005b0| 0a 25 20 74 6f 20 62 65 | 20 6d 75 63 68 20 70 72 |.% to be| much pr|
|000005c0| 65 74 74 69 65 72 2e 0d | 0a 0d 0a 5c 64 65 66 5c |ettier..|...\def\|
|000005d0| 74 77 61 69 23 31 2c 23 | 32 2c 23 33 2c 23 34 2c |twai#1,#|2,#3,#4,|
|000005e0| 23 35 2c 7b 0d 0a 25 09 | 5c 74 79 70 65 6f 75 74 |#5,{..%.|\typeout|
|000005f0| 7b 54 77 69 73 74 79 20 | 61 72 72 6f 77 20 69 6e |{Twisty |arrow in|
|00000600| 63 72 65 6d 65 6e 74 20 | 6f 66 20 7c 23 31 7c 20 |crement |of |#1| |
|00000610| 7c 23 32 7c 20 7c 23 33 | 7c 20 7c 23 34 7c 20 7c ||#2| |#3|| |#4| ||
|00000620| 23 35 7c 7d 0d 0a 0d 0a | 25 20 54 75 72 6e 20 70 |#5|}....|% Turn p|
|00000630| 61 72 61 6d 65 74 65 72 | 73 20 69 6e 74 6f 20 50 |arameter|s into P|
|00000640| 54 20 71 75 61 6e 74 69 | 74 69 65 73 20 73 6f 20 |T quanti|ties so |
|00000650| 77 65 20 63 61 6e 20 64 | 6f 20 73 69 6d 70 6c 65 |we can d|o simple|
|00000660| 20 61 72 69 74 68 6d 65 | 74 69 63 2e 0d 0a 09 5c | arithme|tic....\|
|00000670| 78 63 6f 23 31 70 74 5c | 72 65 6c 61 78 0d 0a 09 |xco#1pt\|relax...|
|00000680| 5c 79 63 6f 23 32 70 74 | 5c 72 65 6c 61 78 0d 0a |\yco#2pt|\relax..|
|00000690| 09 5c 6c 65 6e 23 34 70 | 74 5c 72 65 6c 61 78 0d |.\len#4p|t\relax.|
|000006a0| 0a 09 5c 61 64 76 61 6e | 63 65 5c 6c 65 6e 20 2d |..\advan|ce\len -|
|000006b0| 5c 66 69 72 73 74 73 68 | 72 69 6e 6b 5c 72 65 6c |\firstsh|rink\rel|
|000006c0| 61 78 0d 0a 25 20 57 65 | 20 67 65 74 20 5c 74 61 |ax..% We| get \ta|
|000006d0| 6f 76 61 6c 20 64 79 6e | 61 6d 69 63 61 6c 6c 79 |oval dyn|amically|
|000006e0| 20 66 72 6f 6d 20 6f 75 | 72 20 63 61 6c 6c 65 72 | from ou|r caller|
|000006f0| 0d 0a 09 5c 64 65 66 5c | 66 69 72 73 74 73 68 72 |...\def\|firstshr|
|00000700| 69 6e 6b 7b 5c 74 61 6f | 76 61 6c 20 70 74 7d 5c |ink{\tao|val pt}\|
|00000710| 72 65 6c 61 78 0d 0a 25 | 20 53 65 74 20 74 68 69 |relax..%| Set thi|
|00000720| 6e 67 73 20 75 70 20 66 | 6f 72 20 73 65 6c 65 63 |ngs up f|or selec|
|00000730| 74 69 6f 6e 20 61 6e 64 | 20 69 74 65 72 61 74 69 |tion and| iterati|
|00000740| 6f 6e 0d 0a 09 5c 6c 65 | 74 5c 64 72 61 77 63 6f |on...\le|t\drawco|
|00000750| 6d 6d 61 6e 64 3d 5c 6c | 69 6e 65 0d 0a 09 5c 64 |mmand=\l|ine...\d|
|00000760| 65 66 5c 74 68 69 73 7b | 23 33 7d 0d 0a 09 5c 64 |ef\this{|#3}...\d|
|00000770| 65 66 5c 78 76 65 63 7b | 30 7d 0d 0a 09 5c 64 65 |ef\xvec{|0}...\de|
|00000780| 66 5c 79 76 65 63 7b 30 | 7d 0d 0a 09 5c 6c 65 74 |f\yvec{0|}...\let|
|00000790| 5c 6e 65 78 74 3d 5c 74 | 77 61 69 0d 0a 25 20 46 |\next=\t|wai..% F|
|000007a0| 69 67 75 72 65 20 6f 75 | 74 20 77 68 69 63 68 20 |igure ou|t which |
|000007b0| 77 61 79 20 77 65 27 72 | 65 20 67 6f 69 6e 67 20 |way we'r|e going |
|000007c0| 6e 6f 77 0d 0a 09 5c 69 | 66 5c 74 68 69 73 5c 75 |now...\i|f\this\u|
|000007d0| 75 0d 0a 09 09 5c 61 64 | 64 74 6f 6c 65 6e 67 74 |u....\ad|dtolengt|
|000007e0| 68 7b 5c 79 6c 6f 63 7d | 7b 5c 6c 65 6e 7d 0d 0a |h{\yloc}|{\len}..|
|000007f0| 09 09 5c 64 65 66 5c 79 | 76 65 63 7b 31 7d 0d 0a |..\def\y|vec{1}..|
|00000800| 09 09 5c 63 6f 72 6e 65 | 72 3d 30 0d 0a 09 09 5c |..\corne|r=0....\|
|00000810| 65 6c 73 65 0d 0a 09 5c | 69 66 5c 74 68 69 73 5c |else...\|if\this\|
|00000820| 64 64 0d 0a 09 09 5c 61 | 64 64 74 6f 6c 65 6e 67 |dd....\a|ddtoleng|
|00000830| 74 68 7b 5c 79 6c 6f 63 | 7d 7b 2d 5c 6c 65 6e 7d |th{\yloc|}{-\len}|
|00000840| 0d 0a 09 09 5c 64 65 66 | 5c 79 76 65 63 7b 2d 31 |....\def|\yvec{-1|
|00000850| 7d 0d 0a 09 09 5c 63 6f | 72 6e 65 72 3d 31 0d 0a |}....\co|rner=1..|
|00000860| 09 09 5c 65 6c 73 65 0d | 0a 09 5c 69 66 5c 74 68 |..\else.|..\if\th|
|00000870| 69 73 5c 6c 6c 0d 0a 09 | 09 5c 61 64 64 74 6f 6c |is\ll...|.\addtol|
|00000880| 65 6e 67 74 68 7b 5c 78 | 6c 6f 63 7d 7b 2d 5c 6c |ength{\x|loc}{-\l|
|00000890| 65 6e 7d 0d 0a 09 09 5c | 64 65 66 5c 78 76 65 63 |en}....\|def\xvec|
|000008a0| 7b 2d 31 7d 0d 0a 09 09 | 5c 63 6f 72 6e 65 72 3d |{-1}....|\corner=|
|000008b0| 30 0d 0a 09 09 5c 65 6c | 73 65 0d 0a 09 5c 69 66 |0....\el|se...\if|
|000008c0| 5c 74 68 69 73 5c 72 72 | 0d 0a 09 09 5c 61 64 64 |\this\rr|....\add|
|000008d0| 74 6f 6c 65 6e 67 74 68 | 7b 5c 78 6c 6f 63 7d 7b |tolength|{\xloc}{|
|000008e0| 5c 6c 65 6e 7d 0d 0a 09 | 09 5c 64 65 66 5c 78 76 |\len}...|.\def\xv|
|000008f0| 65 63 7b 31 7d 0d 0a 09 | 09 5c 63 6f 72 6e 65 72 |ec{1}...|.\corner|
|00000900| 3d 32 0d 0a 09 09 5c 65 | 6c 73 65 0d 0a 09 5c 69 |=2....\e|lse...\i|
|00000910| 66 5c 74 68 69 73 5c 65 | 65 0d 0a 09 09 5c 72 65 |f\this\e|e....\re|
|00000920| 6c 61 78 0d 0a 09 09 5c | 65 6c 73 65 0d 0a 09 09 |lax....\|else....|
|00000930| 5c 74 79 70 65 6f 75 74 | 7b 54 77 69 73 74 79 20 |\typeout|{Twisty |
|00000940| 41 72 72 6f 77 20 49 6e | 63 72 65 6d 65 6e 74 2d |Arrow In|crement-|
|00000950| 2d 61 72 67 20 32 20 28 | 5c 74 68 69 73 29 20 6e |-arg 2 (|\this) n|
|00000960| 6f 74 20 6f 6e 65 20 6f | 66 20 7b 75 64 6c 72 65 |ot one o|f {udlre|
|00000970| 7d 7d 0d 0a 09 5c 66 69 | 5c 66 69 5c 66 69 5c 66 |}}...\fi|\fi\fi\f|
|00000980| 69 5c 66 69 0d 0a 20 20 | 20 20 20 20 20 20 5c 69 |i\fi.. | \i|
|00000990| 66 23 35 5c 65 65 0d 0a | 25 09 09 5c 74 79 70 65 |f#5\ee..|%..\type|
|000009a0| 6f 75 74 7b 45 6e 64 69 | 6e 67 20 76 65 63 74 6f |out{Endi|ng vecto|
|000009b0| 72 7d 0d 0a 09 09 5c 6c | 65 74 5c 64 72 61 77 63 |r}....\l|et\drawc|
|000009c0| 6f 6d 6d 61 6e 64 3d 5c | 74 77 61 69 65 6e 64 0d |ommand=\|twaiend.|
|000009d0| 0a 09 09 5c 61 64 76 61 | 6e 63 65 5c 6c 65 6e 5c |...\adva|nce\len\|
|000009e0| 74 61 72 61 64 0d 0a 09 | 5c 66 69 0d 0a 25 20 20 |tarad...|\fi..% |
|000009f0| 20 20 20 20 20 20 5c 74 | 79 70 65 6f 75 74 7b 4e | \t|ypeout{N|
|00000a00| 65 77 20 58 4c 20 5c 75 | 6e 70 74 5c 78 6c 6f 63 |ew XL \u|npt\xloc|
|00000a10| 5c 73 70 61 63 65 20 59 | 4c 20 5c 75 6e 70 74 5c |\space Y|L \unpt\|
|00000a20| 79 6c 6f 63 7d 0d 0a 25 | 20 48 65 72 65 20 77 65 |yloc}..%| Here we|
|00000a30| 20 65 6d 69 74 20 74 68 | 65 20 6c 69 6e 65 20 6f | emit th|e line o|
|00000a40| 72 20 65 6e 64 69 6e 67 | 20 63 6f 6d 6d 61 6e 64 |r ending| command|
|00000a50| 0d 0a 09 5c 70 75 74 28 | 5c 75 6e 70 74 5c 78 63 |...\put(|\unpt\xc|
|00000a60| 6f 2c 5c 75 6e 70 74 5c | 79 63 6f 29 7b 5c 64 72 |o,\unpt\|yco){\dr|
|00000a70| 61 77 63 6f 6d 6d 61 6e | 64 28 5c 78 76 65 63 2c |awcomman|d(\xvec,|
|00000a80| 5c 79 76 65 63 29 7b 5c | 75 6e 70 74 5c 6c 65 6e |\yvec){\|unpt\len|
|00000a90| 7d 7d 0d 0a 09 25 20 46 | 69 67 75 72 65 20 6f 75 |}}...% F|igure ou|
|00000aa0| 74 20 74 68 65 20 6e 65 | 78 74 20 6c 69 6e 65 0d |t the ne|xt line.|
|00000ab0| 0a 09 5c 69 66 23 35 5c | 75 75 0d 0a 09 09 5c 61 |..\if#5\|uu....\a|
|00000ac0| 64 76 61 6e 63 65 5c 79 | 6c 6f 63 20 5c 74 61 72 |dvance\y|loc \tar|
|00000ad0| 61 64 0d 0a 09 09 5c 61 | 64 76 61 6e 63 65 5c 63 |ad....\a|dvance\c|
|00000ae0| 6f 72 6e 65 72 20 31 0d | 0a 09 09 5c 65 6c 73 65 |orner 1.|...\else|
|00000af0| 0d 0a 09 5c 69 66 23 35 | 5c 64 64 0d 0a 09 09 5c |...\if#5|\dd....\|
|00000b00| 61 64 76 61 6e 63 65 5c | 79 6c 6f 63 20 2d 5c 74 |advance\|yloc -\t|
|00000b10| 61 72 61 64 0d 0a 09 09 | 5c 61 64 76 61 6e 63 65 |arad....|\advance|
|00000b20| 5c 63 6f 72 6e 65 72 20 | 30 0d 0a 09 09 5c 65 6c |\corner |0....\el|
|00000b30| 73 65 0d 0a 09 5c 69 66 | 23 35 5c 6c 6c 0d 0a 09 |se...\if|#5\ll...|
|00000b40| 09 5c 61 64 76 61 6e 63 | 65 5c 78 6c 6f 63 20 2d |.\advanc|e\xloc -|
|00000b50| 5c 74 61 72 61 64 0d 0a | 09 09 5c 61 64 76 61 6e |\tarad..|..\advan|
|00000b60| 63 65 5c 63 6f 72 6e 65 | 72 20 32 0d 0a 09 09 5c |ce\corne|r 2....\|
|00000b70| 65 6c 73 65 0d 0a 09 5c | 69 66 23 35 5c 72 72 0d |else...\|if#5\rr.|
|00000b80| 0a 09 09 5c 61 64 76 61 | 6e 63 65 5c 78 6c 6f 63 |...\adva|nce\xloc|
|00000b90| 20 5c 74 61 72 61 64 0d | 0a 09 09 5c 61 64 76 61 | \tarad.|...\adva|
|00000ba0| 6e 63 65 5c 63 6f 72 6e | 65 72 20 30 0d 0a 09 09 |nce\corn|er 0....|
|00000bb0| 5c 65 6c 73 65 0d 0a 09 | 5c 69 66 23 35 5c 65 65 |\else...|\if#5\ee|
|00000bc0| 0d 0a 09 09 5c 6c 65 74 | 5c 6e 65 78 74 3d 5c 67 |....\let|\next=\g|
|00000bd0| 6f 62 62 6c 65 65 6d 75 | 70 0d 0a 20 20 20 20 20 |obbleemu|p.. |
|00000be0| 20 20 20 20 20 20 20 20 | 20 20 20 5c 63 6f 72 6e | | \corn|
|00000bf0| 65 72 3d 34 0d 0a 09 09 | 5c 65 6c 73 65 0d 0a 09 |er=4....|\else...|
|00000c00| 74 79 70 65 6f 75 74 7b | 54 77 69 73 74 79 20 41 |typeout{|Twisty A|
|00000c10| 72 72 6f 77 20 49 6e 63 | 72 65 6d 65 6e 74 2d 2d |rrow Inc|rement--|
|00000c20| 61 72 67 20 35 20 28 23 | 35 29 20 6e 6f 74 20 6f |arg 5 (#|5) not o|
|00000c30| 6e 65 20 6f 66 20 7b 75 | 64 6c 72 65 7d 7d 0d 0a |ne of {u|dlre}}..|
|00000c40| 09 5c 66 69 5c 66 69 5c | 66 69 5c 66 69 5c 66 69 |.\fi\fi\|fi\fi\fi|
|00000c50| 0d 0a 25 20 20 20 20 20 | 20 20 5c 74 79 70 65 6f |..% | \typeo|
|00000c60| 75 74 7b 43 6f 72 6e 65 | 72 20 63 65 6e 74 65 72 |ut{Corne|r center|
|00000c70| 20 58 4c 20 5c 75 6e 70 | 74 5c 78 6c 6f 63 5c 73 | XL \unp|t\xloc\s|
|00000c80| 70 61 63 65 20 59 4c 20 | 5c 75 6e 70 74 5c 79 6c |pace YL |\unpt\yl|
|00000c90| 6f 63 7d 0d 0a 09 5c 69 | 66 63 61 73 65 5c 63 6f |oc}...\i|fcase\co|
|00000ca0| 72 6e 65 72 0d 0a 09 09 | 25 20 63 61 73 65 20 30 |rner....|% case 0|
|00000cb0| 20 54 4c 0d 0a 09 09 5c | 70 75 74 28 5c 75 6e 70 | TL....\|put(\unp|
|00000cc0| 74 5c 78 6c 6f 63 2c 5c | 75 6e 70 74 5c 79 6c 6f |t\xloc,\|unpt\ylo|
|00000cd0| 63 29 7b 5c 6f 76 61 6c | 28 5c 74 61 6f 76 61 6c |c){\oval|(\taoval|
|00000ce0| 2c 5c 74 61 6f 76 61 6c | 29 5b 74 6c 5d 7d 0d 0a |,\taoval|)[tl]}..|
|00000cf0| 09 09 5c 6f 72 0d 0a 09 | 09 25 20 63 61 73 65 20 |..\or...|.% case |
|00000d00| 31 20 42 4c 0d 0a 09 09 | 5c 70 75 74 28 5c 75 6e |1 BL....|\put(\un|
|00000d10| 70 74 5c 78 6c 6f 63 2c | 5c 75 6e 70 74 5c 79 6c |pt\xloc,|\unpt\yl|
|00000d20| 6f 63 29 7b 5c 6f 76 61 | 6c 28 5c 74 61 6f 76 61 |oc){\ova|l(\taova|
|00000d30| 6c 2c 5c 74 61 6f 76 61 | 6c 29 5b 62 6c 5d 7d 0d |l,\taova|l)[bl]}.|
|00000d40| 0a 09 09 5c 6f 72 0d 0a | 09 09 25 20 63 61 73 65 |...\or..|..% case|
|00000d50| 20 32 20 54 52 0d 0a 09 | 09 5c 70 75 74 28 5c 75 | 2 TR...|.\put(\u|
|00000d60| 6e 70 74 5c 78 6c 6f 63 | 2c 5c 75 6e 70 74 5c 79 |npt\xloc|,\unpt\y|
|00000d70| 6c 6f 63 29 7b 5c 6f 76 | 61 6c 28 5c 74 61 6f 76 |loc){\ov|al(\taov|
|00000d80| 61 6c 2c 5c 74 61 6f 76 | 61 6c 29 5b 74 72 5d 7d |al,\taov|al)[tr]}|
|00000d90| 0d 0a 09 09 5c 6f 72 0d | 0a 09 09 25 20 63 61 73 |....\or.|...% cas|
|00000da0| 65 20 33 20 42 52 0d 0a | 09 09 5c 70 75 74 28 5c |e 3 BR..|..\put(\|
|00000db0| 75 6e 70 74 5c 78 6c 6f | 63 2c 5c 75 6e 70 74 5c |unpt\xlo|c,\unpt\|
|00000dc0| 79 6c 6f 63 29 7b 5c 6f | 76 61 6c 28 5c 74 61 6f |yloc){\o|val(\tao|
|00000dd0| 76 61 6c 2c 5c 74 61 6f | 76 61 6c 29 5b 62 72 5d |val,\tao|val)[br]|
|00000de0| 7d 0d 0a 09 09 5c 6f 72 | 0d 0a 09 09 25 20 63 61 |}....\or|....% ca|
|00000df0| 73 65 20 34 20 45 4e 44 | 0d 0a 09 09 5c 72 65 6c |se 4 END|....\rel|
|00000e00| 61 78 0d 0a 09 09 5c 66 | 69 0d 0a 09 5c 61 64 76 |ax....\f|i...\adv|
|00000e10| 61 6e 63 65 5c 78 6c 6f | 63 20 5c 78 76 65 63 5c |ance\xlo|c \xvec\|
|00000e20| 74 61 72 61 64 0d 0a 09 | 5c 61 64 76 61 6e 63 65 |tarad...|\advance|
|00000e30| 5c 79 6c 6f 63 20 5c 79 | 76 65 63 5c 74 61 72 61 |\yloc \y|vec\tara|
|00000e40| 64 0d 0a 25 20 20 20 20 | 20 20 20 20 5c 74 79 70 |d..% | \typ|
|00000e50| 65 6f 75 74 7b 46 69 6e | 61 6c 20 58 4c 20 5c 75 |eout{Fin|al XL \u|
|00000e60| 6e 70 74 5c 78 6c 6f 63 | 5c 73 70 61 63 65 20 59 |npt\xloc|\space Y|
|00000e70| 4c 20 5c 75 6e 70 74 5c | 79 6c 6f 63 7d 0d 0a 25 |L \unpt\|yloc}..%|
|00000e80| 20 69 74 65 72 61 74 65 | 20 6f 72 20 66 69 6e 69 | iterate| or fini|
|00000e90| 73 68 2c 20 64 65 70 65 | 6e 64 69 6e 67 20 75 70 |sh, depe|nding up|
|00000ea0| 6f 6e 20 76 61 6c 75 65 | 20 6f 66 20 27 6e 65 78 |on value| of 'nex|
|00000eb0| 74 27 0d 0a 09 5c 6e 65 | 78 74 5c 75 6e 70 74 5c |t'...\ne|xt\unpt\|
|00000ec0| 78 6c 6f 63 2c 5c 75 6e | 70 74 5c 79 6c 6f 63 2c |xloc,\un|pt\yloc,|
|00000ed0| 23 35 2c 0d 0a 09 7d 0d | 0a 5c 64 65 66 5c 74 77 |#5,...}.|.\def\tw|
|00000ee0| 69 73 74 79 61 72 72 6f | 77 67 65 6e 28 23 31 2c |istyarro|wgen(#1,|
|00000ef0| 23 32 2c 23 33 2c 23 34 | 29 23 35 7b 7b 0d 0a 09 |#2,#3,#4|)#5{{...|
|00000f00| 5c 64 65 66 5c 75 75 7b | 75 7d 0d 0a 09 5c 64 65 |\def\uu{|u}...\de|
|00000f10| 66 5c 64 64 7b 64 7d 0d | 0a 09 5c 64 65 66 5c 6c |f\dd{d}.|..\def\l|
|00000f20| 6c 7b 6c 7d 0d 0a 09 5c | 64 65 66 5c 72 72 7b 72 |l{l}...\|def\rr{r|
|00000f30| 7d 0d 0a 09 5c 64 65 66 | 5c 65 65 7b 65 7d 0d 0a |}...\def|\ee{e}..|
|00000f40| 09 5c 63 6f 75 6e 74 64 | 65 66 5c 63 6f 72 6e 65 |.\countd|ef\corne|
|00000f50| 72 3d 32 35 35 0d 0a 09 | 5c 6e 65 77 73 6b 69 70 |r=255...|\newskip|
|00000f60| 7b 5c 78 63 6f 7d 5c 6e | 65 77 73 6b 69 70 7b 5c |{\xco}\n|ewskip{\|
|00000f70| 79 63 6f 7d 5c 6e 65 77 | 73 6b 69 70 7b 5c 6c 65 |yco}\new|skip{\le|
|00000f80| 6e 7d 0d 0a 09 5c 6e 65 | 77 73 6b 69 70 7b 5c 78 |n}...\ne|wskip{\x|
|00000f90| 6c 6f 63 7d 5c 6e 65 77 | 73 6b 69 70 7b 5c 79 6c |loc}\new|skip{\yl|
|00000fa0| 6f 63 7d 0d 0a 09 5c 6e | 65 77 73 6b 69 70 7b 5c |oc}...\n|ewskip{\|
|00000fb0| 74 61 72 61 64 7d 5c 73 | 65 74 6c 65 6e 67 74 68 |tarad}\s|etlength|
|00000fc0| 7b 5c 74 61 72 61 64 7d | 7b 23 33 70 74 7d 0d 0a |{\tarad}|{#3pt}..|
|00000fd0| 09 5c 6e 65 77 73 6b 69 | 70 7b 5c 64 75 6d 6d 79 |.\newski|p{\dummy|
|00000fe0| 6c 65 6e 7d 0d 0a 09 5c | 6c 65 74 5c 74 77 61 69 |len}...\|let\twai|
|00000ff0| 65 6e 64 3d 23 34 0d 0a | 09 5c 73 65 74 6c 65 6e |end=#4..|.\setlen|
|00001000| 67 74 68 7b 5c 64 75 6d | 6d 79 6c 65 6e 7d 7b 5c |gth{\dum|mylen}{\|
|00001010| 74 61 72 61 64 7d 0d 0a | 09 5c 61 64 76 61 6e 63 |tarad}..|.\advanc|
|00001020| 65 5c 64 75 6d 6d 79 6c | 65 6e 20 5c 64 75 6d 6d |e\dummyl|en \dumm|
|00001030| 79 6c 65 6e 0d 0a 09 5c | 64 65 66 5c 74 61 6f 76 |ylen...\|def\taov|
|00001040| 61 6c 7b 5c 75 6e 70 74 | 5c 64 75 6d 6d 79 6c 65 |al{\unpt|\dummyle|
|00001050| 6e 7d 0d 0a 09 5c 73 65 | 74 6c 65 6e 67 74 68 7b |n}...\se|tlength{|
|00001060| 5c 78 6c 6f 63 7d 7b 23 | 31 70 74 7d 5c 73 65 74 |\xloc}{#|1pt}\set|
|00001070| 6c 65 6e 67 74 68 7b 5c | 79 6c 6f 63 7d 7b 23 32 |length{\|yloc}{#2|
|00001080| 70 74 7d 0d 0a 09 5c 64 | 65 66 5c 66 69 72 73 74 |pt}...\d|ef\first|
|00001090| 73 68 72 69 6e 6b 7b 5c | 74 61 72 61 64 7d 5c 72 |shrink{\|tarad}\r|
|000010a0| 65 6c 61 78 0d 0a 09 5c | 74 77 61 69 20 23 31 2c |elax...\|twai #1,|
|000010b0| 23 32 2c 23 35 2c 65 2c | 7d 7d 0d 0a 25 0d 0a 5c |#2,#5,e,|}}..%..\|
|000010c0| 64 65 66 5c 74 77 69 73 | 74 79 61 72 72 6f 77 28 |def\twis|tyarrow(|
|000010d0| 23 31 2c 23 32 29 7b 5c | 74 77 69 73 74 79 61 72 |#1,#2){\|twistyar|
|000010e0| 72 6f 77 67 65 6e 28 23 | 31 2c 23 32 2c 32 2c 5c |rowgen(#|1,#2,2,\|
|000010f0| 76 65 63 74 6f 72 29 7d | 0d 0a 5c 64 65 66 5c 74 |vector)}|..\def\t|
|00001100| 77 69 73 74 79 61 72 72 | 6f 77 72 61 64 28 23 31 |wistyarr|owrad(#1|
|00001110| 2c 23 32 2c 23 33 29 7b | 5c 74 77 69 73 74 79 61 |,#2,#3){|\twistya|
|00001120| 72 72 6f 77 67 65 6e 28 | 23 31 2c 23 32 2c 23 33 |rrowgen(|#1,#2,#3|
|00001130| 2c 5c 76 65 63 74 6f 72 | 29 7d 0d 0a 25 2d 2d 2d |,\vector|)}..%---|
|00001140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 20 20 45 |--------|----- E|
|00001150| 4e 44 20 4f 46 20 4d 41 | 43 52 4f 53 20 2d 2d 2d |ND OF MA|CROS ---|
|00001160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 0a 25 |--------|-----..%|
|00001170| 5c 64 6f 63 75 6d 65 6e | 74 73 74 79 6c 65 5b 66 |\documen|tstyle[f|
|00001180| 6c 6f 77 63 68 61 72 74 | 5d 7b 61 72 74 69 63 6c |lowchart|]{articl|
|00001190| 65 7d 0d 0a 25 5c 62 65 | 67 69 6e 7b 64 6f 63 75 |e}..%\be|gin{docu|
|000011a0| 6d 65 6e 74 7d 0d 0a 25 | 5c 75 6e 69 74 6c 65 6e |ment}..%|\unitlen|
|000011b0| 67 74 68 3d 2e 31 69 6e | 0d 0a 25 5c 62 65 67 69 |gth=.1in|..%\begi|
|000011c0| 6e 7b 63 65 6e 74 65 72 | 7d 0d 0a 25 5c 62 65 67 |n{center|}..%\beg|
|000011d0| 69 6e 7b 70 69 63 74 75 | 72 65 7d 28 33 30 2c 33 |in{pictu|re}(30,3|
|000011e0| 30 29 0d 0a 25 5c 74 77 | 69 73 74 79 61 72 72 6f |0)..%\tw|istyarro|
|000011f0| 77 72 61 64 28 30 2c 30 | 2c 31 29 7b 25 0d 0a 25 |wrad(0,0|,1){%..%|
|00001200| 75 2c 31 31 2c 72 2c 31 | 31 2c 64 2c 31 30 2c 6c |u,11,r,1|1,d,10,l|
|00001210| 2c 31 30 2c 25 0d 0a 25 | 75 2c 31 31 2c 72 2c 31 |,10,%..%|u,11,r,1|
|00001220| 31 2c 64 2c 31 30 2c 6c | 2c 31 30 2c 25 0d 0a 25 |1,d,10,l|,10,%..%|
|00001230| 75 2c 31 31 2c 72 2c 31 | 31 2c 64 2c 31 30 2c 6c |u,11,r,1|1,d,10,l|
|00001240| 2c 31 30 2c 25 0d 0a 25 | 75 2c 31 31 2c 72 2c 31 |,10,%..%|u,11,r,1|
|00001250| 31 2c 64 2c 31 30 2c 6c | 2c 31 30 2c 25 0d 0a 25 |1,d,10,l|,10,%..%|
|00001260| 75 2c 31 31 2c 72 2c 31 | 31 2c 64 2c 31 30 2c 6c |u,11,r,1|1,d,10,l|
|00001270| 2c 31 30 2c 25 0d 0a 25 | 75 2c 31 31 2c 72 2c 31 |,10,%..%|u,11,r,1|
|00001280| 31 2c 64 2c 31 30 2c 6c | 2c 31 30 2c 25 0d 0a 25 |1,d,10,l|,10,%..%|
|00001290| 75 2c 31 31 2c 72 2c 31 | 31 2c 64 2c 31 30 2c 6c |u,11,r,1|1,d,10,l|
|000012a0| 2c 31 30 2c 25 0d 0a 25 | 75 2c 31 31 2c 72 2c 31 |,10,%..%|u,11,r,1|
|000012b0| 31 2c 64 2c 31 30 2c 6c | 2c 31 30 2c 25 0d 0a 25 |1,d,10,l|,10,%..%|
|000012c0| 75 2c 31 31 2c 72 2c 31 | 31 2c 64 2c 31 30 2c 6c |u,11,r,1|1,d,10,l|
|000012d0| 2c 31 30 2c 25 0d 0a 25 | 75 2c 31 31 2c 72 2c 31 |,10,%..%|u,11,r,1|
|000012e0| 31 2c 64 2c 31 30 2c 6c | 2c 31 30 2c 25 0d 0a 25 |1,d,10,l|,10,%..%|
|000012f0| 75 2c 31 31 2c 72 2c 31 | 31 2c 64 2c 31 30 2c 6c |u,11,r,1|1,d,10,l|
|00001300| 2c 31 30 2c 25 0d 0a 25 | 75 2c 31 31 2c 72 2c 31 |,10,%..%|u,11,r,1|
|00001310| 31 2c 64 2c 31 30 2c 6c | 2c 31 30 2c 25 0d 0a 25 |1,d,10,l|,10,%..%|
|00001320| 75 2c 31 31 2c 72 2c 31 | 31 2c 64 2c 31 30 2c 6c |u,11,r,1|1,d,10,l|
|00001330| 2c 31 30 2c 25 0d 0a 25 | 75 2c 31 31 2c 72 2c 31 |,10,%..%|u,11,r,1|
|00001340| 31 2c 64 2c 31 30 2c 6c | 2c 31 30 2c 25 0d 0a 25 |1,d,10,l|,10,%..%|
|00001350| 75 2c 31 31 2c 72 2c 31 | 31 2c 64 2c 31 30 2c 6c |u,11,r,1|1,d,10,l|
|00001360| 2c 31 30 2c 25 0d 0a 25 | 75 2c 31 31 2c 72 2c 31 |,10,%..%|u,11,r,1|
|00001370| 31 2c 64 2c 31 30 2c 6c | 2c 31 30 2c 25 0d 0a 25 |1,d,10,l|,10,%..%|
|00001380| 75 2c 31 31 2c 72 2c 31 | 31 2c 64 2c 31 30 2c 6c |u,11,r,1|1,d,10,l|
|00001390| 2c 31 30 2c 25 0d 0a 25 | 75 2c 31 31 2c 72 2c 31 |,10,%..%|u,11,r,1|
|000013a0| 31 2c 64 2c 31 30 2c 6c | 2c 31 30 2c 25 0d 0a 25 |1,d,10,l|,10,%..%|
|000013b0| 75 2c 31 31 7d 0d 0a 25 | 5c 65 6e 64 7b 70 69 63 |u,11}..%|\end{pic|
|000013c0| 74 75 72 65 7d 0d 0a 25 | 5c 65 6e 64 7b 63 65 6e |ture}..%|\end{cen|
|000013d0| 74 65 72 7d 0d 0a 25 5c | 65 6e 64 7b 64 6f 63 75 |ter}..%\|end{docu|
|000013e0| 6d 65 6e 74 7d 0d 0a | |ment}.. | |
+--------+-------------------------+-------------------------+--------+--------+